import Vue from "vue";
import FastClick from "fastclick";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "normalize.css/normalize.css";
import "amfe-flexible";
import "./styles/reset.css";
import "./icons";
import "./plugins/vant.js";
import VueStorage from "vue-ls";
Vue.use(VueStorage, {
  namespace: "",
  name: "ls",
  storage: "local"
});
import formCreateMobile from "@form-create/vant";
Vue.use(formCreateMobile);
import { Dialog, NavBar, Grid, GridItem, Tag, Icon, Popup, Picker, Toast } from "vant";
Vue.use(NavBar);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Tag);
Vue.use(Icon);
Vue.use(Popup);
Vue.use(Picker);
FastClick.attach(document.body);
Vue.prototype.$store = store;
Vue.prototype.$toast = Toast;
Vue.prototype.$dialog = Dialog;
Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
